﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Linq.Mapping;

namespace QuanLyPhongMach.Model
{
    [Table(Name="ThamSo")]
    public class CThamSo
    {
        #region Properties
        [Column(Name = "ID", IsPrimaryKey = true)]
        public int ID { get; set; }

        [Column(Name = "SoBenhNhanToiDaTrongNgay")]
        public int SoLuongKhamToiDaTrongNgay { get; set; }

        [Column(Name = "TienKham")]
        public int TienKham { get; set; }
        #endregion

        #region Constructor
        public CThamSo()
        { 
        }

        public CThamSo(int tienKham, int soluongkhamtoidatrongngay)
        {
            ID = 0;
            this.TienKham = tienKham;
            this.SoLuongKhamToiDaTrongNgay = soluongkhamtoidatrongngay;
        }
        #endregion
    }
}
